﻿<%@ Page Title="医院填报采购计划详情" Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true" CodeBehind="HospitalPurchasePlanByNormalDetail.aspx.cs" Inherits="HZ.Supervise.Web.Hospital.HospitalPurchasePlanByNormalDetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server"> 
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
 
    <div class="search">
      <div class="search_item">
        <table>
          <tr> 
            <th> 流水号： </th>
            <td align="left"><asp:TextBox ID="txtProcureCatalogID" runat="server"></asp:TextBox></td>
            <th> 通用名： </th>
            <td align="left"><asp:TextBox ID="txtProductName" runat="server"></asp:TextBox></td>
            <th> 剂型： </th>
            <td align="left"><asp:TextBox ID="txtMedicineModel" runat="server"></asp:TextBox></td>
            <th> 采购规格： </th>
            <td align="left"><asp:TextBox ID="txtPack" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
            <th> 计划月份： </th>
            <td align="left"><asp:TextBox ID="txtPurchaseTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM',readOnly:true})"></asp:TextBox></td>
            <th>
                                排序字段：
                            </th>
                            <td align="left">
                                <asp:DropDownList runat="server" ID="ddlSortFields"> 
                                    <asp:ListItem Value="ProductName" Text="通用名"></asp:ListItem>                                
                                    <asp:ListItem Value="planCount" Text="计划采购数"></asp:ListItem>
                                </asp:DropDownList>
                            </td>
                            <th>
                                排序方式：
                            </th>
                            <td align="left">
                                <asp:DropDownList runat="server" ID="ddlSort">
                                    <asp:ListItem Value="DESC" Text="降序"></asp:ListItem>                                
                                    <asp:ListItem Value="ASC" Text="升序"></asp:ListItem>
                                </asp:DropDownList>
                            </td> 
                            <th>药品分类：</th>
                            <td align="left">
                            <asp:DropDownList runat="server" ID ="dlpsort"></asp:DropDownList>
                            </td>
            <th> <hz:HzButton ID="btnQuery" runat="server" Text="查  询" OnClick="btnQuery_Click" CssClass="btn" />
            </th>
          </tr> 
        </table>
      </div>
    </div>
    <br />
    <asp:GridView ID="gvwInfo" runat="server" AutoGenerateColumns="False" EmptyDataText="暂无符合条件的数据！"
			Width="100%" CssClass="mainlist" >
      <Columns>
        <asp:TemplateField HeaderText="序号">
          <ItemTemplate> <%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex-1) %></ItemTemplate>
          <HeaderStyle Width="30px" />
        </asp:TemplateField>
        <asp:BoundField DataField="ProcureCatalogID" HeaderText="流水号" ReadOnly="true" />
        <asp:BoundField DataField="ProductName" HeaderText="通用名" ReadOnly="true" />
        <asp:BoundField DataField="MedicineModelName" HeaderText="剂型" ReadOnly="true" />
        <asp:BoundField DataField="Outlookc" HeaderText="采购规格" />
        <asp:BoundField DataField="Unit" HeaderText="采购单位" /> 
        <asp:BoundField DataField="ProcurePrice" HeaderText="供应价格"  />
        <asp:BoundField DataField="SortName" HeaderText="药品分类"  NullDisplayText="无"/>
        <asp:BoundField DataField="CompanyName_SC" HeaderText="生产企业" ReadOnly="true" />
        <asp:BoundField DataField="HospitalName" HeaderText="医院名称" ReadOnly="true"  />
        <asp:BoundField DataField="planCount" HeaderText="计划采购数量" ReadOnly="true" />
        <asp:BoundField DataField="WarehouseCount" HeaderText="实际采购数量" ReadOnly="true" />
        <asp:BoundField DataField="OutNumber" HeaderText="计划采购与实际采购差额" ReadOnly="true" />
        <asp:BoundField DataField="PurChaseTime" HeaderText="计划月份" ReadOnly="true" HtmlEncode="false"  DataFormatString="{0:yyyy年MM月}" />
      </Columns>
    </asp:GridView>
    <div class="page">
      <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_OnPageChanged"> </webdiyer:AspNetPager>
    </div>
    <br />
  <div class="listctrl">
    <hz:HzButton ID="btnExcel" runat="server" CssClass="btn" Text="导出数据" OnClick="btnExcel_Click" />  
      <hz:HzButton ID="btnBack" runat="server" CssClass="btn" Text="返回" onclick="btnBack_Click" />
  
  </div>
  <div class="listip">
  <ul>
    <li>说明:<span>计划采购数量：指医疗机构每月填报的采购计划数量。</span> </li>
    <li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span>实际采购数量：指医疗机构的实际入库数量。</span></li>
    <li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span>计划采购与实际采购差额=计划采购数量-实际采购数量。</span></li>
  </ul>
</div>
</asp:Content>
